package org.tea.inventory.model.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

@ApiModel(description = "mall_prize_log")
@Data
@NoArgsConstructor
public class WinLogVo implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "")
    private Long id;
    /**
     * 奖品id
     */
    @ApiModelProperty(value = "奖品id")
    private Long prizeId;
    /**
     * 用户id
     */
    @ApiModelProperty(value = "用户id")
    private String loginId;
    /**
     * 关联id
     */
    @ApiModelProperty(value = "关联活动id")
    private Long relationId;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private Date createTime;


    private String createTimeStr;

    private String prizeName;

    private String actTitle;

    private String userName;

    private String deptName;

    private Long actId;

    private String fullName;//actTitle+prizeName

    public WinLogVo(String loginId, Long relationId, Date createTime) {

        this.loginId = loginId;
        this.relationId = relationId;
        this.createTime = createTime;
    }

}